import localKey from './localKey'

const devApiUrl = 'http://localhost';


// const proApiUrl = 'http://api.youUrl.com';
const proApiUrl = 'http://localhost';

const nodeDevEnv = process.env.NODE_ENV == 'development' ? true : false;

export default {
  nodeDevEnv: nodeDevEnv,
  apiUrl: nodeDevEnv ? devApiUrl : proApiUrl,
  siteName: '设备维修管理系统',
  minSiteMame: '设备维管',
  apiPrefix: "",
  timeout: 5000,
  cookiesExpires: 7,
  requestRetry: 4,
  requestRetryDelay: 800,
  tokenKey: 'ACCESS_TOKEN',
  userInfoKey: 'USER_INFO',
  permissionsKey:'PERMISSION_ARRAY',
  ...localKey
}
